package com.py.credit.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.framework.core.common.Page;

public interface YzTestDao {
	/**
	 * 假删除接口采集日记
	 */
	void updateLog();

	/**
	 * 根据表id 查询出表名称
	 */
	String selectTableNameByTableId(@Param(value = "tableId") String tableId);

	/**
	 * 插入日记
	 */
	void insertLog(@Param(value = "qymc") String qymc, @Param(value = "tybm") String tybm,
			@Param(value = "tableName") String tableName, @Param(value = "tableId") String tableId,
			@Param(value = "url") String url, @Param(value = "code") String code, @Param(value = "msg") String msg,
			@Param(value = "batchid") String batchid);

	/**
	 * 根据企业名称查询企业信息
	 */
	List<Map<String, Object>> selectLog();

	public List<Map<String, Object>> selectByConditionForPage(@Param(value = "columns") List<String> columns,
			@Param(value = "additionalColumns") String[] additionalColumns,
			@Param(value = "conditions") List<String> conditions, @Param(value = "page") Page page);
}
